import {request} from "@/http/request";

export function findAllPosition(courseVo) {
    return request({
        url:"/pos/listAll",
        method:"post",
        data:courseVo
    })
}

export function insert(position) {
    return request({
        url:"/pos/insert",
        method:"post",
        data:position
    })
}

export function deleteById(pid) {
    return request({
        url:"/pos/delete",
        method:"get",
        params:pid
    })
}